package com.amumu.drama.common.base.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author sunzhuang
 * @date 2024/7/2 15:04
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc todo
 */

@Setter
@Getter
@ApiModel("主键")
public class IdReq implements Serializable {

    @ApiModelProperty("主键")
    @NotNull(message = "主键ID不能为空")
    private Long id;
}
